home *** CD-ROM | disk | FTP | other *** search
/ Shareware Grab Bag / Shareware Grab Bag.iso / 015 / prtspool.arc / SPOOL.DOC < prev   
Encoding:
Text File  |  1985-03-08  |  5.3 KB  |  114 lines

  1.  
  2.  
  3.         I have decided that most the print spoolers for the IBM PC
  4. are just junk. They dont dont have enough flexibility in operation and few
  5. if any can give you updated status of the buffer. Part of the problem lies
  6. in the basic hardware flaws of the IBM PC. It is impossible to generate a 
  7. true interrupt driven spooler for the IBM parallel port. This is because the
  8. ACK signal coming back from the printer is tied direct to the interrupt
  9. controller. Unfortunately the timing of this signal,as defined for standard
  10. centronics interface,is too fast to be acknowledge by the controller! It
  11. is uncanny how one simple flip-flop inserted between the signal line and the
  12. controller could have elimnated the problem! All the clones out there
  13. never bothered to include it either,copying IBM line for line!
  14.  
  15.         As a result,all spoolers have to tag themselves to either the
  16. keyboard interrupt or timer. Some tag to both of them. However some control
  17. of priority is needed,or conflicts may occur. This priont spooler alows
  18. that control. THe spooler is divided into 2 parts.
  19.  
  20.          SPOOL.DEV      : This is the actual device driver for the spooler.
  21.  
  22.        BUFFERP.COM      : This is control program that sends and recieves 
  23.                         : information from the device driver. Allow priority
  24.                         : or port changing,etc!
  25.  
  26.         A detail of the operation is given below,and how to install the 
  27. program. Source is also included for hackers to use. Although I did not
  28. write this program originally,it was given to me for modification. The company 
  29. I worked for on this project has since gone under, and I feel that since I
  30. modified it and the company folded, I have full rights to it. I am giving it 
  31. away free in the true spirit of public domain. Sort of a thank you to many of 
  32. the other fine PD authors who given us programs like Qmodem,EBL,Util, etc! My 
  33. thanks go out to these fine authors!
  34.  
  35.  
  36.  
  37.   Using SPOOL.DEV:
  38.  
  39.         The print spooler allows up to 64K of ram to preserved for use as a
  40. print spooler. All output to printer device will be routed to the buffer and
  41. printed to the destination during a 'background' operation. THis will allow 
  42. the user to continue using his computer for other functions. The printer 
  43. devices allowed for this spooler can be as follows:
  44.  
  45.         LPT1,LPT2,LPT3 or COM1,COM2.
  46.  
  47.         Also the device for spooling can be changed at anytime the device is 
  48. installed or after! THe user can set how much memory he wishes to reserve by 
  49. adding a 'switch' to the command line during installation. Install the device 
  50. by editing a file on the boot disk "Config.Sys". THis may be edited with any 
  51. editor such as edlin or Wordstar. Options for the driver are allowed and 
  52. installed as folows:
  53.  
  54.         DEVICE=SPOOL.DEV  /60 /L1
  55.  
  56.      Placing this line in the Config.sys file is all that is needed. The first 
  57. parameter "/60" indicates how much memory is be reserved for the buffer. It is 
  58. in allocated in 1K increments. ANy number is allowed from "1" to "63". If no 
  59. number is entered,or an incorrect number, 63 will be the default. The second 
  60. parameter indicates the default port for the spooler. Allowable parameters are 
  61. as follows:
  62.  
  63.                 /L1     : Route to LPT1
  64.                 /L2     : Route to LPT2
  65.                 /L3     : Route to LPT3
  66.  
  67.                 /C1     : FOr COM1
  68.                 /C2     : For COM2
  69.  
  70.         Any other parameters are not allowed. The default port,if none are 
  71. emtered is LPT1. Make sure that the file SPOOL.DEV is also installed on the 
  72. boot disk. Remember to restart the pc before spooler is activated!
  73.  
  74.  
  75.         The second file BUFFERP.COM is a utility program that allows the user 
  76. to change ports for spooling,clear the buffer and see how much is in the 
  77. buffer. It is menu driven and very self explanatory. It will only work if the 
  78. spooler is installed, otherwise will complain! Execute it by simply typing 
  79. "BUFFERP", making sure the file is on the default drive or in the DOS Path 
  80. specification.
  81.  
  82.  
  83.         I have found few problems with the spooler. THe priority feature of the 
  84. spooler also comes in handy for controlling output speed. It can changed on 
  85. the fly withg the BUFFERP command. Also this is the first spooler I have found 
  86. that works well with the DOS PRINT command! SHould work with any programs such 
  87. as Wordstar or PC-WRITE! Enjoy it!
  88.  
  89.  
  90.  
  91.                 Craig Derouen
  92.  
  93.                 March 5,1985
  94.  
  95.  
  96.  
  97. Addemium for RBBS sysops or Multi-Link Users
  98.  
  99. There is a few things the RBBS sysop or Multi-Link user should know about 
  100. spool.dev  Under RBBS if operator page is on and a user pages, my Epson printer 
  101. will cease to log the activity of the BBS, but continues to fill the buffer. I 
  102. have only found Re-boot as a solution to date.
  103.  
  104. If you are using multi-link It will work fine for either paration, howver 
  105. attempting to change the printer priority causes a crash. It will allow buffer 
  106. clearing however.
  107.  
  108. If any rbbs sysop figures out how to make page not conflict with spool, please 
  109. leave a comment to the sysop or Craig Derouen at Video Advisor ON-LINE at
  110. 206/244-1685
  111.  
  112. Thank you Tim Houser sysop VA RBBS
  113.